#ifndef _CONFIGURATION_H
#define _CONFIGURATION_H
#include "main.h"
#include "FreeRTOS.h"
#include "queue.h"
#include "task.h"
#include "Mytask.h"
#include "cmsis_os.h"
#include "semphr.h"

// 改为extern声明
extern QueueHandle_t xOLEDQueue;
extern QueueHandle_t xGripperQueue;
extern osEventFlagsId_t evt_id_Serial;
extern osEventFlagsId_t evt_id_LED;
extern osEventFlagsId_t evt_id_Servo_GR;
extern osEventFlagsId_t evt_id_OLED;
extern SemaphoreHandle_t xServoMutex;
typedef struct {
    char text[16];
    uint8_t line;
    uint8_t column;
} OLED_Message;

//extern OLED_Message oledMsg;  // 改为extern声明

#endif

